$(function() {
	$('#nav-accordion').dcAccordion({
        eventType: 'click',
        autoClose: true,
        saveState: true,
        disableLink: true,
        speed: 'slow',
        showCount: false,
        autoExpand: true,
        cookie: 'dcjq-accordion-1',
        classExpand: 'dcjq-current-parent'
    });
	
	$("#sidebar").niceScroll({
		styler:"fb",cursorcolor:"#e8403f", cursorwidth: '3', 
		cursorborderradius: '10px', background: '#404040', 
		spacebarenabled:false, cursorborder: ''});

    $("html").niceScroll({
    	styler:"fb",cursorcolor:"#e8403f", cursorwidth: '6', 
    	cursorborderradius: '10px', background: '#404040', 
    	spacebarenabled:false,  cursorborder: '', zindex: '1000'});

    $('.tooltips').tooltip();
});